Linear regression is defined as an algorithm that provides a linear relationship between an independent variable and a dependent variable to predict the outcome of future events. It is a statistical method used in data science and machine learning for predictive analysis.
Regression Line:
\(E(y) = \beta_0 + \beta_1 x_1\)
\(var(y) = \sigma ^2\)
Least Squares Line:
\(\hat{y} = a + bx\)